package com.services.impl;

import com.beans.HouseFavorite;
import com.data.mapper.BaseMapper;
import com.data.mapper.HouseFavoriteMapper;
import com.services.HouseFavoriteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jiangwei
 * @since 18/1/21
 */
@Service
public class HouseFavoriteServiceImpl extends BaseServiceImpl<HouseFavorite> implements HouseFavoriteService {
    @Autowired
    public HouseFavoriteMapper houseFavoriteMapper;

    @Override
    public BaseMapper<HouseFavorite> getMapper(){return houseFavoriteMapper; }

    public List<HouseFavorite> queryListByCollection(HouseFavorite bean) {
        return houseFavoriteMapper.queryListByCollection(bean);
    }
}
